﻿@using Journal.Common.Helpers
@using Journal.Common.Helpers.HtmlControls
@model Journal.Front.Presentation.Models.UserModels.UserEditModel
@{
    Layout = "~/Views/Shared/_StudyRoomLayout.cshtml";
}
@{ Html.BeginForm("SaveUser", "User", FormMethod.Post); }
@Html.HiddenFor(x => x.Id)
<div class="grid col-three-quarters mq2-col-two-thirds mq3-col-full">
    @Html.FormInputTextRow(x => x.Login, true)
    @Html.FormInputTextRow(x => x.Name, true)
    @Html.FormInputTextRow(x => x.Surname, true)
    @Html.FormInputTextRow(x => x.Email, true)
    @Html.FormInputTextRow(x => x.Phone, false)
    @Html.FormInputTextRow(x => x.DateBirth, false)
    @Html.FormInputTextMultilineRow(x => x.Additionally)
    @Html.FormInputSubmit("Save")
</div>
@{ Html.EndForm(); }
